package com.fruits.dao;

import com.fruits.domain.Cart;

import java.util.List;

public interface CartDao {
    //购物车添加
    public int add(int uid, Cart cart);

    public int update(int uid, Cart cart);

    public int delete(int uid,int fid);

    public Cart find(int uid,int fid);
    //查询购物车
    public List<Cart> findById(int uid);

}
